<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<?php
    echo $this->HeadMeta();     
    echo $this->headTitle(); 
    echo $this->headLink();  
    $this->dojo()->enable();
    
    // Check if dojo library is needed
    if ($this->dojo()->isEnabled()) {  	
    	$this->dojo()->setLocalPath($this->baseUrl().'/js/dojo/dojo/dojo.js')
                 ->addStyleSheetModule('dijit.themes.soria')//URGENT:trouver un moyen de parametrer et dynamiser ça, tester is dojo()->isEnabled()
                 //->setDjConfigOption('usePlainJson', true)
                 ; 
        
       //$this->dojo()->setDjConfigOption('locale', 'fr');
       $this->dojo()->addLayer($this->baseUrl().'/js/dojo/dojo/mydojo.js');
       
       //$this->dojo()->requireModule('dijit.form.Button');
       
       // Echo out the dojo <script> tags
       echo $this->dojo();
    }
    //$this->dojo()->requireModule('dijit.form.Button');
    echo $this->headScript(); 
?>
		
</head>
<body class="soria">
 
<div id="page">
<?php echo $this->partial("layout_header.phtml"); ?>

<h2><?php echo $this->title;?></h2>	



<div class="content"><?php echo $this->layout()->content; ?></div>	
	
<?php echo $this->partial("layout_footer.phtml"); 

?>
</div>
    

</body>
</html>

